﻿
 
 

// ******************************************************
// 这段代码是自动生成的
// 修改里面的代码，下次生成的时候会被覆盖
// ******************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Cors;
using Sharp.Application;
using System.ServiceModel.Activation;
using Sharp.DataTransferObject.CMS;
using Sharp.Infrastructure.Search;
using Sharp.Infrastructure;
using Sharp.Infrastructure.IoC;
using Sharp.ServiceContracts.CMS;

namespace Sharp.Services.CMS.Controllers
{
	[EnableCors("*", "*", "*")]
	public partial class MemberServiceController : ApiController, IMemberService
	{
		private readonly IMemberService _impl = ServiceLocator.Instance.GetService<IMemberService>();
		public Result DeleteNoiseWords(Guid[] ids)
		{
			return _impl.DeleteNoiseWords(ids);
		}
		public Result SaveNoiseWord(NoiseWordDTO dtoModel)
		{
			return _impl.SaveNoiseWord(dtoModel);
		}
		public Result<NoiseWordDTO> GetNoiseWordInfo(Guid id)
		{
			return _impl.GetNoiseWordInfo(id);
		}
		public Result<IEnumerable<NoiseWordDTO>> GetNoiseWordList()
		{
			return _impl.GetNoiseWordList();
		}
		public PagedResult<NoiseWordDTO> GetNoiseWordPaged(PagingFeature pf)
		{
			return _impl.GetNoiseWordPaged(pf);
		}
		public Result DeleteIPBlackLists(Guid[] ids)
		{
			return _impl.DeleteIPBlackLists(ids);
		}
		public Result SaveIPBlackList(IPBlackListDTO dtoModel)
		{
			return _impl.SaveIPBlackList(dtoModel);
		}
		public Result<IPBlackListDTO> GetIPBlackListInfo(Guid id)
		{
			return _impl.GetIPBlackListInfo(id);
		}
		public Result<IEnumerable<IPBlackListDTO>> GetIPBlackListList()
		{
			return _impl.GetIPBlackListList();
		}
		public PagedResult<IPBlackListDTO> GetIPBlackListPaged(PagingFeature pf)
		{
			return _impl.GetIPBlackListPaged(pf);
		}
		public Result<IEnumerable<OAuthDTO>> GetOauthList()
		{
			return _impl.GetOauthList();
		}
		public Result SaveOauth(OAuthDTO dtoModel)
		{
			return _impl.SaveOauth(dtoModel);
		}
		public PagedResult<CommentDTO> GetCommentPaged(PagingFeature pf)
		{
			return _impl.GetCommentPaged(pf);
		}
		public Result DeleteComments(Guid[] ids)
		{
			return _impl.DeleteComments(ids);
		}
		public PagedResult<FavoriteDTO> GetFavoritePaged(PagingFeature pf)
		{
			return _impl.GetFavoritePaged(pf);
		}
		public Result DeleteFavorites(Guid[] ids)
		{
			return _impl.DeleteFavorites(ids);
		}
	}
}